{include file="public/layout.htm" /}
<body class="back-c">
    <div class="ey-content">
        <div class="ey-header">
            <div class="ey-header-status">
                <div class="header-status-l">
                    <a href="{:weapp_url('Mbackend/Mbackend/index')}"><i class="iconfont icon-left"></i></a>
                </div>
                <div class="header-status-m">
                    会员中心
                </div>
                <div class="header-status-r">
                    <div class="choose">
                        <a href="javascript:void(0);" onclick="openFilter();">筛选</a>
                        <!-- <i class="iconfont icon-shaixuan color-tip"></i> -->
                    </div>
                </div>
            </div>
        </div>
        <div class="ey-header-lin-height-x"></div>
        <div class="order-list-wrap">
            <div class="ey-drawer screen-wrap ey-drawer-visible ey-drawer-right" id="openFilter" style="display: none;">
                <div class="ey-drawer-mask" onclick="closeFilter();"></div>
                <div class="ey-drawer-content">
                    <div class="title color-tip">
                        <div class="title-fl">筛选</div> 
                        <div onclick="closeFilter();"><i class="iconfont icon-guanbi"></i></div>
                    </div>
                    <div class="ey-scroll-con">
                        <div class="ey-scroll-view" style="overflow: auto;">
                            <div class="ey-scroll-view-content">
                                <div class="search-wrap">
                                    <div class="search-input-inner">
                                    <form id="postForm" action="{:weapp_url('Mbackend/Member/users_index')}" method="get" onsubmit="layerLoading();" style="display: unset;">
                                        {$searchform.hidden|default=''}
                                        <div class="ey-input-group">
                                            <input type="text" class="ey-input-inner" name="keywords" id="keywords" value="{$Request.param.keywords}" placeholder="搜索用户名...">
                                            <div class="ey-input-group-append">
                                                <button type="submit" class="ey-button"> <i class="iconfont icon-sousuo"></i> </button>
                                            </div>
                                        </div>
                                    </form>
                                    </div>
                                </div>
                                <div class="item-wrap">
                                    <div class="label">
                                        <span>会员级别</span>
                                    </div>
                                    <div class="list">
                                        {volist name='$levelCountList' id='vo'}
                                        <a class="name-view {eq name='$Request.param.level' value='$vo.level_id'}on{/eq}" href="{:weapp_url('Mbackend/Member/users_index', ['level'=>$vo.level_id])}">
                                            {$vo.level_name}({$vo.level_count})</i>
                                        </a>
                                        {/volist}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                </div>
            </div>
        </div>
        

        <div class="mescroll-ey-warp list-wrap">
            <div class="mescroll-ey mescroll-ey-fixed list-users">
                <div class="mescroll-ey-content">
                    
                    {empty name="list"}
                    <div class="null-data-con">
                        <div class="blank"></div>
                        <div class="null-data-box" style="height: calc(100vh - 201px);">
                            <div class="null-data">
                                <img src="__WEAPP_TEMPLATE__/skin/images/null-data.png">
                            </div>
                        </div>
                    </div>
                    {else/}
                    <!-- 列表数据 -->
                    {include file="member/users_list.htm" /}
                    <span id="unifiedAjaxAppendList"></span>
                    {/empty}
                </div>
                <!-- 列表分页 -->
                {include file="public/page.htm" /}
            </div>
        </div>
    </div>
</body>
{include file="public/footer.htm" /}
